<?php
namespace Home\Model;
use Think\Model;
class PpModel extends Model{


	public function addPp($data){
		$data['create_time']=time();
		$data['updata_time']=time();

		return $this->add($data);
	}
	public function ppLists(){
		return $this->select();
	}



	public function getPpById($id){
		return $this->where("id = '{$id}'")->find();
	}

}